package com.gw.yunke.service;

import com.gw.yunke.domain.Comment;
import com.gw.yunke.domain.PraiseUserComment;
import com.gw.yunke.domain.Recomment;
import com.gw.yunke.domain.dto.CommentReq;
import com.gw.yunke.domain.dto.CommentResp;
import com.gw.yunke.domain.dto.PraiseCommentReq;

import java.util.List;

public interface ICommentService {

    int createComment(Comment comment);

    List<CommentResp> getCommentsByVideoId(Long videoId,Long userId);

    int createRecomment(Recomment recomment);

    int addCommentPraise(PraiseCommentReq praiseCommentReq);

    Comment getCommentById(Long commentId);

    List<Long> getUserPraiseInfo(Long videoId,Long userId);

    List<CommentResp> getHotCommentsByVideoId(Long videoId,Long userId);

    List<PraiseUserComment> getCommentPraiseInfo(Long commentId, Long userId);
}
